package lixp.pojo;

import javax.persistence.*;

@Table(name = "upms_user_organization")
public class UpmsUserOrganization {
    /**
     * 编号
     */
    @Id
    @Column(name = "user_organization_id")
    private Integer userOrganizationId;

    /**
     * 用户编号
     */
    @Column(name = "user_id")
    private Integer userId;

    /**
     * 组织编号
     */
    @Column(name = "organization_id")
    private Integer organizationId;

    /**
     * 获取编号
     *
     * @return user_organization_id - 编号
     */
    public Integer getUserOrganizationId() {
        return userOrganizationId;
    }

    /**
     * 设置编号
     *
     * @param userOrganizationId 编号
     */
    public void setUserOrganizationId(Integer userOrganizationId) {
        this.userOrganizationId = userOrganizationId;
    }

    /**
     * 获取用户编号
     *
     * @return user_id - 用户编号
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * 设置用户编号
     *
     * @param userId 用户编号
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * 获取组织编号
     *
     * @return organization_id - 组织编号
     */
    public Integer getOrganizationId() {
        return organizationId;
    }

    /**
     * 设置组织编号
     *
     * @param organizationId 组织编号
     */
    public void setOrganizationId(Integer organizationId) {
        this.organizationId = organizationId;
    }
}